﻿#include "FITKGraphObjectLineBase.h"

// Graph
#include "FITKGraphCommons.h"

namespace Exchange
{
    FITKGraphObjectLineBase::FITKGraphObjectLineBase(AbaqusData::FITKDataCase* caseData, Core::FITKAbstractDataObject* markData)
        : FITKGraphObjectMarkBase(caseData, markData)
    {
        if (!markData)
        {
            return;
        }

        // Set the layer need to be rendered.
        setRenderLayer(0, 1);

        // Save the graph information.
        m_graphInfo.Type = OtherGraph;

        // Save if the bounds are fixed or dynamic.
        m_hasFixedBounds = false;
    }
}   // namespace Exchange